function [f,g]=gacrossover(a,b)
n=length(a);
e=rand(1);
m=fix(e*n);
if m==n
    m=m-1;
end    
f(1:m)=a(1:m);
g(1:m)=b(1:m);
f(1+m:n)=b(1+m:n);
g(1+m:n)=a(1+m:n);


